<html>
<head><meta charset="utf-8"><title>pushing to others&#x27; branches · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/pushing.20to.20others&#x27;.20branches.html">pushing to others&#x27; branches</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="166487408"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/pushing%20to%20others%27%20branches/near/166487408" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> varkor <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/pushing.20to.20others&#x27;.20branches.html#166487408">(May 24 2019 at 20:28)</a>:</h4>
<p>does this require push access on the rust repository itself?<br>
is there any chance this could be enabled for the compiler team / responsible reviewers, or does that require too many access privileges?</p>



<a name="166504715"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/pushing%20to%20others%27%20branches/near/166504715" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/pushing.20to.20others&#x27;.20branches.html#166504715">(May 25 2019 at 02:07)</a>:</h4>
<p>would be ideal to have it enabled for at least those with r+ rights</p>



<a name="166769692"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/pushing%20to%20others%27%20branches/near/166769692" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/pushing.20to.20others&#x27;.20branches.html#166769692">(May 28 2019 at 23:24)</a>:</h4>
<p>Pushing to other people’s branches requires you to have access to their fork. Otherwise the only other way is to forcefully update the <code>refs/heads/pr</code> head in <code>rust-lang/rust</code> which would in turn result in weird discrepancies in GitHub’s UI, so I’m not sure if they allow pushing to those refs directly.</p>



<a name="166772818"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/pushing%20to%20others%27%20branches/near/166772818" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> varkor <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/pushing.20to.20others&#x27;.20branches.html#166772818">(May 29 2019 at 00:20)</a>:</h4>
<p>yeah, they allow it under certain conditions: <a href="https://help.github.com/en/articles/committing-changes-to-a-pull-request-branch-created-from-a-fork" target="_blank" title="https://help.github.com/en/articles/committing-changes-to-a-pull-request-branch-created-from-a-fork">https://help.github.com/en/articles/committing-changes-to-a-pull-request-branch-created-from-a-fork</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>